From 287cf759da2f0b9d22775b74a91d8bd4fdec8714 Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 11 Aug 2004 20:18:13 +0000 Subject: [PATCH] Add HSA Endeavour support. From Sven Dowideit. Update msdev & visual studio stuff. Fix spelling becuase I can't. --- gpsbabel/Makefile | 2 +- gpsbabel/geo.c | 2 +- gpsbabel/gpx.c | 4 +- gpsbabel/hsa_ndv.c | 546 +++++++++++ gpsbabel/magproto.c | 2 +- gpsbabel/mapsend.c | 2 +- gpsbabel/mapsend.h | 2 +- gpsbabel/msvc/GPSBabel.dsp | 1286 ++++++++++++------------- gpsbabel/msvc/GPSBabel.sln | 21 + gpsbabel/msvc/GPSBabel.vcproj | 1705 +++++++++++++++++++++++++++++++++ gpsbabel/navicache.c | 2 +- gpsbabel/tiger.c | 2 +- gpsbabel/vecs.c | 7 + 13 files changed, 2933 insertions(+), 650 deletions(-) create mode 100644 gpsbabel/hsa_ndv.c create mode 100644 gpsbabel/msvc/GPSBabel.sln create mode 100644 gpsbabel/msvc/GPSBabel.vcproj diff --git a/gpsbabel/Makefile b/gpsbabel/Makefile index fa1f672f4..0f92abed1 100644 --- a/gpsbabel/Makefile +++ b/gpsbabel/Makefile @@ -19,7 +19,7 @@ FMTS=magproto.o gpx.o geo.o mapsend.o mapsource.o \ psp.o holux.o garmin.o tmpro.o tpg.o \ xcsv.o gcdb.o tiger.o internal_styles.o easygps.o quovadis.o \ gpilots.o saroute.o navicache.o psitrex.o geoniche.o delgpl.o \ - ozi.o nmea.o text.o html.o palmdoc.o netstumbler.o + ozi.o nmea.o text.o html.o palmdoc.o netstumbler.o hsa_ndv.o FILTERS=position.o duplicate.o arcdist.o polygon.o smplrout.o reverse_route.o sort.o diff --git a/gpsbabel/geo.c b/gpsbabel/geo.c index 1f4425cb0..ceb14b242 100644 --- a/gpsbabel/geo.c +++ b/gpsbabel/geo.c @@ -49,7 +49,7 @@ arglist_t geo_args[] = { void geo_rd_init(const char *fname) { - fatal(MYNAME ": This build excluded GPX support becuase expat was not installed.\n"); + fatal(MYNAME ": This build excluded GEO support because expat was not installed.\n"); } void diff --git a/gpsbabel/gpx.c b/gpsbabel/gpx.c index d070f03bc..9f0f91308 100644 --- a/gpsbabel/gpx.c +++ b/gpsbabel/gpx.c @@ -778,7 +778,7 @@ gpx_end(void *data, const char *el) void gpx_rd_init(const char *fname) { - fatal(MYNAME ": This build excluded GPX support becuase expat was not installed.\n"); + fatal(MYNAME ": This build excluded GPX support because expat was not installed.\n"); } #else /* NO_EXPAT */ @@ -847,7 +847,7 @@ gpx_rd_init(const char *fname) cdatastr = vmem_alloc(1, 0); *((char *)cdatastr.mem) = '\0'; - /* We don't use xstrdup here becuase we' know we don't free + /* We don't use xstrdup here because we' know we don't free * this across reads and we unlock the safety belt from the * leak tester. */ diff --git a/gpsbabel/hsa_ndv.c b/gpsbabel/hsa_ndv.c new file mode 100644 index 000000000..39b88eca5 --- /dev/null +++ b/gpsbabel/hsa_ndv.c @@ -0,0 +1,546 @@ +/* + Copyright (C) 2004 HSA Systems, Sven Dowideit + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA + + */ +#include "defs.h" +#if !NO_EXPAT +#include +static XML_Parser psr; +#endif + +static char *cdatastr; +static int in_Route = 0; +static int in_ChartWork = 0; +static int in_Object = 0; + +static waypoint *wpt_tmp; +char *routeName = "ROUTENAME"; + +#define REPLACEMENT_SIRIUS_ATTR_SEPARATOR ';' +#define ATTR_USRMRK "usrmrk" +#define ATTR_OBJECTNAME "OBJNAM" +#define ATTR_SHIPNAME "shpnam" + +void readVersion4( FILE* pFile); + +FILE *fd; +FILE *ofd; + +static +arglist_t hsa_ndv_args[] = { +// {"deficon", &deficon, "Default icon name", ARGTYPE_STRING }, + {0, 0, 0, 0} +}; + +#define MYNAME "HsaNdv" +#define MY_CBUF 4096 + +#define TRUE 1 +#define FALSE 0 + + +#if NO_EXPAT +void +hsa_ndv_rd_init(const char *fname) +{ + fatal(MYNAME ": This build excluded HSA Endeavour support because expat was not installed.\n"); +} + +void +hsa_ndv_read(void) +{ +} +#else + +static void +hsa_ndv_start(void *data, const char *el, const char **attr) +{ +// printf("<%s>\n", el); + if (strcmp(el, "Export") == 0) + {//should only be one + } + else if (strcmp(el, "Route") == 0) + { + in_Route++; + } + else if (strcmp(el, "Chartwork") == 0) + { + in_ChartWork++; + } + else if (strcmp(el, "Object") == 0) + { + wpt_tmp = xcalloc(sizeof(*wpt_tmp), 1); + wpt_tmp->altitude = unknown_alt; + in_Object++; + } + //reset data :) + memset(cdatastr,0, MY_CBUF); +} + +static void getAttr(const char *data, const char *attr, char **val, char seperator) +{ + char *start; + if ((start = strstr(data, attr)) != NULL) + { + char *end; + int len; + + end = strchr(start, seperator); + if (end == NULL) + { + end = start + strlen(start);//assume we are teh last attr + } + + len = end-start - strlen(attr); + + *val = xcalloc(len+1, 1); + memcpy(*val, start+strlen(attr), len); + (*val)[len] = '\0'; + } + else + { + *val = xcalloc(1, 1); + (*val)[0] = '\0'; + } +} + +static void +hsa_ndv_end(void *data, const char *el) +{ + if (in_Route) + { + if (strcmp(el, "Version") == 0) + {//don't really care + } + else if (strcmp(el, "Name") == 0) + { + routeName = xstrdup(cdatastr); + } + else if (strcmp(el, "LastModified") == 0) + {//don't really care + } + if (in_Object) + { + if (strcmp(el, "ClassName") == 0) + { + } + else if (strcmp(el, "Attr") == 0) + { + getAttr(cdatastr, ATTR_OBJECTNAME, &wpt_tmp->shortname, REPLACEMENT_SIRIUS_ATTR_SEPARATOR); + getAttr(cdatastr, ATTR_USRMRK, &wpt_tmp->description, REPLACEMENT_SIRIUS_ATTR_SEPARATOR); + } + else if (strcmp(el, "LegAttr") == 0) + { + } + else if (strcmp(el, "NumberOfVertexs") == 0) + { + } + else if (strcmp(el, "Latitude") == 0) + { + wpt_tmp->latitude = atof(cdatastr); + } + else if (strcmp(el, "Longitude") == 0) + { + wpt_tmp->longitude = atof(cdatastr); + } + } + } + + if (in_ChartWork) + { + if (strcmp(el, "Version") == 0) + {//don't really care + } + if (in_Object) + { + if (strcmp(el, "ClassName") == 0) + { +// className = xstrdup(cdatastr); + } + else if (strcmp(el, "Attr") == 0) + { + //getAttr(cdatastr, ATTR_OBJECTNAME, &wpt_tmp->shortname, REPLACEMENT_SIRIUS_ATTR_SEPARATOR); + //getAttr(cdatastr, ATTR_SHIPNAME, &wpt_tmp->description, REPLACEMENT_SIRIUS_ATTR_SEPARATOR); + } + else if (strcmp(el, "NumberOfVertexs") == 0) + { + } + else if (strcmp(el, "Latitude") == 0) + { + wpt_tmp->latitude = atof(cdatastr); + } + else if (strcmp(el, "Longitude") == 0) + { + wpt_tmp->longitude = atof(cdatastr); + } + else if (strcmp(el, "Time") == 0) + { + wpt_tmp->creation_time = atoi(cdatastr); + } + } + } + + //ignore everything else for now.. + memset(cdatastr,0, MY_CBUF); + + if (strcmp(el, "Object") == 0) + { + if (in_Route) + { + waypt_add(wpt_tmp); + } + else if (in_ChartWork) + { + //TODO: not sure how i want to handle this.. + } + in_Object--; + } + else if (strcmp(el, "Route") == 0) + { + in_Route--; + } + else if (strcmp(el, "Chartwork") == 0) + { + in_ChartWork--; + } +} + +static void +hsa_ndv_cdata(void *dta, const XML_Char *s, int len) +{ + char *estr; + estr = cdatastr + strlen(cdatastr); + memcpy(estr, s, len); +} + +void +hsa_ndv_rd_init(const char *fname) +{ + fd = xfopen(fname, "r", MYNAME); + + psr = XML_ParserCreate(NULL); + if (!psr) { + fatal(MYNAME ":Cannot create XML parser\n"); + } + + XML_SetElementHandler(psr, hsa_ndv_start, hsa_ndv_end); + cdatastr = xcalloc(MY_CBUF,1); + XML_SetCharacterDataHandler(psr, hsa_ndv_cdata); +} + +void +hsa_ndv_read(void) +{ + int len; + char buf[MY_CBUF]; + + while ((len = fread(buf, 1, sizeof(buf), fd))) + { + char *bad; + + if (NULL != strstr(buf, "nver=1")) + {//its the older format, not xml + fseek(fd, 0, SEEK_SET); + readVersion4(fd); + break; + } + //grumble - have to remove \x1f's from sirius attributes + while (NULL != (bad = strchr(buf, '\x1f'))) + { + *bad = REPLACEMENT_SIRIUS_ATTR_SEPARATOR; + } + if (!XML_Parse(psr, buf, len, feof(fd))) { + fatal(MYNAME ":Parse error at %d: %s\n", + XML_GetCurrentLineNumber(psr), + XML_ErrorString(XML_GetErrorCode(psr))); + } + } + + XML_ParserFree(psr); +} + +#endif + +void +hsa_ndv_rd_deinit(void) +{ + if ( cdatastr ) { + xfree(cdatastr); + } + fclose(fd); +} + +void +hsa_ndv_wr_init(const char *fname) +{ + ofd = xfopen(fname, "w", MYNAME); +} + +void +hsa_ndv_wr_deinit(void) +{ + fclose(ofd); +} + +static int legNum = 0; + +static void +hsa_ndv_waypt_pr(const waypoint *waypointp) +{ + + fprintf(ofd, "\t\t\n"); + + fprintf(ofd, "\t\t\twaypnt\n"); +//ignore these for now, they are s57 specific +// fprintf(ofd, "\t\t\t0\n"); +// fprintf(ofd, "\t\t\t1\n"); +// fprintf(ofd, "\t\t\t1089009023\n"); + fprintf(ofd, "\t\t\tattr=grpnam%s\x1ftrnrad50\x1fOBJNAM%s\x1flegnum%i\x1fusrmrk%s\x1fselect2\n", + routeName, waypointp->shortname, legNum, waypointp->description); + fprintf(ofd, "\t\t\t\n"); + fprintf(ofd, "\t\t\t1\n"); + fprintf(ofd, "\t\t\t%lf\n", waypointp->latitude); + fprintf(ofd, "\t\t\t%lf\n", waypointp->longitude); + + fprintf(ofd, "\t\t\n"); + + legNum++; +} + +void +hsa_ndv_write(void) +{ + fprintf(ofd, "\n"); + fprintf(ofd, "\n"); + fprintf(ofd, "\t\n"); + fprintf(ofd, "\t\t1.0000000\n"); + fprintf(ofd, "\t\tROUTENAME\n"); /*TODO: used filename? */ + fprintf(ofd, "\t\t0\n"); + waypt_disp_all(hsa_ndv_waypt_pr); + fprintf(ofd, "\t\n"); + +//later we'll import past tracks and chart objects? +// fprintf(ofd, "\t\n"); +// fprintf(ofd, "\t\t1.0000000\n"); +// track_disp_all(hsa_ndv_track_pr); +// fprintf(ofd, "\t\n"); + + + fprintf(ofd, "\n"); +} + +ff_vecs_t HsaEndeavourNavigator_vecs = { + ff_type_file, + hsa_ndv_rd_init, + hsa_ndv_wr_init, + hsa_ndv_rd_deinit, + hsa_ndv_wr_deinit, + hsa_ndv_read, + hsa_ndv_write, + hsa_ndv_args +}; + +////////////////////////////////////////////////////////////////////////// +// older style Endeavour route export file +//read DEC2000 NDV export files + +#define EF_RECORD_DELIMTER 0 +#define ED_REC_NAME_SIZE 5 +#define EF_NVER_REC "nver=" +#define EF_LAT_REC "lati=" +#define EF_LONG_REC "long=" +#define EF_TIME_REC "time=" +#define EF_ATTR_REC "attr=" +#define EF_CLNM_REC "clnm=" +#define INVALID_TIME -1L +#define SOUNDARRAY_CHAR 'S' + +int readRecord( FILE* pFile, const char* pRecName, char *recData); +int readPositionRecord( FILE* pFile, double* lat, double* lng, long* timeStamp); + +void readVersion4( FILE* pFile) +{ + while( TRUE ) + { + char recData[256]; + // get the position + double lat2, lng2; + + // set the pointer to the time stamp depending + // on whether we have a sounding array or not + long ts1, ts2; + long* pts1 = 0; + long* pts2 = 0; + + int soundArray = FALSE; + int numberOfVerticies; + char className[256]; + char attr[1024]; + int Vertex; + + memset(attr, 0, 1024); + + wpt_tmp = xcalloc(sizeof(*wpt_tmp), 1); + wpt_tmp->altitude = unknown_alt; + + // read the first record + if( !readRecord( pFile, EF_NVER_REC, recData) ) + // no first record then finished + break; + + // get the type + sscanf( (const char*)recData, "%d", &numberOfVerticies); + + // do we have a sounding array + if( *((const char *)recData + strlen(recData) - 1) == SOUNDARRAY_CHAR ) + { + soundArray = TRUE; + } + + if( soundArray ) + { + pts1 = &ts1; + pts2 = &ts2; + } + + // go through the vertices + for( Vertex = 0; Vertex < numberOfVerticies; Vertex++) + { + // read vertex position + if( !readPositionRecord( pFile, &lat2, &lng2, pts2) ) + return; + + wpt_tmp->longitude = lng2; + wpt_tmp->latitude = lat2; + break;//TODO: ignore more points for now + } + + + // read the class name + if( !readRecord( pFile, EF_CLNM_REC, className) ) + return; + + // read the attributes name + if( !readRecord( pFile, EF_ATTR_REC, attr) ) + return; + getAttr(attr, ATTR_OBJECTNAME, &wpt_tmp->shortname, '\x1f'); + getAttr(attr, ATTR_USRMRK, &wpt_tmp->description, '\x1f'); + + { + char *bad; + //remove \n and \x1f from description data + while (NULL != (bad = strchr(wpt_tmp->description, '\x1f'))) + { + *bad = REPLACEMENT_SIRIUS_ATTR_SEPARATOR; + } + while (NULL != (bad = strchr(wpt_tmp->description, '\n'))) + { + *bad = ' '; + } + while (NULL != (bad = strchr(wpt_tmp->description, '\r'))) + { + *bad = ' '; + } + } + + waypt_add(wpt_tmp); + } + + fclose(pFile); + return; +} + +// read a record to a file +int readRecord( FILE* pFile, const char* pRecName, char *recData) +{ + // get the rec name + int len; + char recName[ED_REC_NAME_SIZE+1]; + char arrRecData[256]; + + for( len = 0; len < ED_REC_NAME_SIZE; len++) + { + int c = fgetc( pFile); + + // if we hit EOF failed + if( c == EOF ) + return FALSE; + + recName[len] = c; + } + + // if the record name is not the reqiured type then error + if( strncmp( recName, pRecName, ED_REC_NAME_SIZE) != 0 ) + return FALSE; + + // get the rec data + for( len = 0; TRUE; len++) + { + int c = fgetc( pFile); + + // if we hit EOF failed + if( c == EOF ) + return FALSE; + + // hit end of line + if( c == EF_RECORD_DELIMTER ) + break; + + arrRecData[len] = c; + } + + // get the rec data to a string + strncpy(recData, arrRecData, len); + + return TRUE; +} + +// read position +int readPositionRecord( FILE* pFile, double* lat, double* lng, + long* timeStamp) +{ + // read the lat record + char recData[256]; + if( !readRecord( pFile, EF_LAT_REC, recData) ) + // no lat record then finished + return FALSE; + + // read the latitude + sscanf( (const char*)recData, "%lf", lat); + + // read the lng record + if( !readRecord( pFile, EF_LONG_REC, recData) ) + // no first record then finished + return FALSE; + + // read the latitude + sscanf( (const char*)recData, "%lf", lng); + + // if we are to read a time record + if( timeStamp ) + { + // read the lng record + if( !readRecord( pFile, EF_TIME_REC, recData) ) + // no first record then finished + return FALSE; + + // read the latitude + sscanf( (const char*)recData, "%ld", timeStamp); + } + + return TRUE; +} diff --git a/gpsbabel/magproto.c b/gpsbabel/magproto.c index acbd815a1..b3fa7bfaa 100644 --- a/gpsbabel/magproto.c +++ b/gpsbabel/magproto.c @@ -152,7 +152,7 @@ static icon_mapping_t map330_icon_table[] = { { "an", "winery" }, { "ao", "wreck" }, { "ap", "zoo" }, - { "ah", "Virtual cache"}, /* Binos: becuase you "see" them. */ + { "ah", "Virtual cache"}, /* Binos: because you "see" them. */ { "ak", "Micro-Cache" }, /* Looks like a film canister. */ { "an", "Multi-Cache"}, /* Winery: grapes 'coz they "bunch" */ { "s", "Unknown Cache"}, /* 'Suprise' cache: use a target. */ diff --git a/gpsbabel/mapsend.c b/gpsbabel/mapsend.c index 449dc4f71..7477a043f 100644 --- a/gpsbabel/mapsend.c +++ b/gpsbabel/mapsend.c @@ -277,7 +277,7 @@ mapsend_read(void) char buf[3]; /* - * Becuase of the silly struct packing and the goofy variable-length + * Because of the silly struct packing and the goofy variable-length * strings, each member has to be read in one at a time. Grrr. */ diff --git a/gpsbabel/mapsend.h b/gpsbabel/mapsend.h index 3c77b3320..2d1ef9448 100644 --- a/gpsbabel/mapsend.h +++ b/gpsbabel/mapsend.h @@ -22,7 +22,7 @@ * Mapsend File Format Description Revision 1.1, March 6, 2002 from Thales. * * Note this file format was clearly NOT designed for cross-architecture - * portability. In fact, becuase of the pascal nature of the 'string' + * portability. In fact, because of the pascal nature of the 'string' * data type described in that document, it's impractical to describe * a 'struct waypoint' in C. * diff --git a/gpsbabel/msvc/GPSBabel.dsp b/gpsbabel/msvc/GPSBabel.dsp index a52ecd8e8..5b1ab443d 100644 --- a/gpsbabel/msvc/GPSBabel.dsp +++ b/gpsbabel/msvc/GPSBabel.dsp @@ -1,641 +1,645 @@ -# Microsoft Developer Studio Project File - Name="GPSBabel" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=GPSBabel - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "GPSBabel.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "GPSBabel.mak" CFG="GPSBabel - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "GPSBabel - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "GPSBabel - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "GPSBabel - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "expat" /I "..\coldsync" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "__WIN32__" /D VERSION=\"1.2.1_beta01072004_msvc\" /YX /FD /c -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "expat" /I "..\coldsync" /D "WIN32" /D "__WIN32__" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.2.1_beta01072004_msvc\" /FR /YX /FD /GZ /c -# SUBTRACT CPP /WX -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "GPSBabel - Win32 Release" -# Name "GPSBabel - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Group "Jeeps" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\jeeps\gpsapp.c - -!IF "$(CFG)" == "GPSBabel - Win32 Release" - -# PROP Intermediate_Dir "Release\Jeeps" - -!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" - -# PROP Intermediate_Dir "Debug\Jeeps" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpscom.c - -!IF "$(CFG)" == "GPSBabel - Win32 Release" - -# PROP Intermediate_Dir "Release\Jeeps" - -!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" - -# PROP Intermediate_Dir "Debug\Jeeps" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsmath.c - -!IF "$(CFG)" == "GPSBabel - Win32 Release" - -# PROP Intermediate_Dir "Release\Jeeps" - -!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" - -# PROP Intermediate_Dir "Debug\Jeeps" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsmem.c - -!IF "$(CFG)" == "GPSBabel - Win32 Release" - -# PROP Intermediate_Dir "Release\Jeeps" - -!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" - -# PROP Intermediate_Dir "Debug\Jeeps" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsprot.c - -!IF "$(CFG)" == "GPSBabel - Win32 Release" - -# PROP Intermediate_Dir "Release\Jeeps" - -!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" - -# PROP Intermediate_Dir "Debug\Jeeps" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsread.c - -!IF "$(CFG)" == "GPSBabel - Win32 Release" - -# PROP Intermediate_Dir "Release\Jeeps" - -!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" - -# PROP Intermediate_Dir "Debug\Jeeps" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsrqst.c - -!IF "$(CFG)" == "GPSBabel - Win32 Release" - -# PROP Intermediate_Dir "Release\Jeeps" - -!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" - -# PROP Intermediate_Dir "Debug\Jeeps" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpssend.c - -!IF "$(CFG)" == "GPSBabel - Win32 Release" - -# PROP Intermediate_Dir "Release\Jeeps" - -!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" - -# PROP Intermediate_Dir "Debug\Jeeps" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsserial.c - -!IF "$(CFG)" == "GPSBabel - Win32 Release" - -# PROP Intermediate_Dir "Release\Jeeps" - -!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" - -# PROP Intermediate_Dir "Debug\Jeeps" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsutil.c - -!IF "$(CFG)" == "GPSBabel - Win32 Release" - -# PROP Intermediate_Dir "Release\Jeeps" - -!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" - -# PROP Intermediate_Dir "Debug\Jeeps" - -!ENDIF - -# End Source File -# End Group -# Begin Group "Coldsync" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\coldsync\pdb.c - -!IF "$(CFG)" == "GPSBabel - Win32 Release" - -# PROP Intermediate_Dir "Release\Coldsync" - -!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" - -# PROP Intermediate_Dir "Debug\Coldsync" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\coldsync\util.c - -!IF "$(CFG)" == "GPSBabel - Win32 Release" - -# PROP Intermediate_Dir "Release\Coldsync" - -!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" - -# PROP Intermediate_Dir "Debug\Coldsync" - -!ENDIF - -# End Source File -# End Group -# Begin Source File - -SOURCE=..\arcdist.c -# End Source File -# Begin Source File - -SOURCE=..\cetus.c -# End Source File -# Begin Source File - -SOURCE=..\copilot.c -# End Source File -# Begin Source File - -SOURCE=..\csv_util.c -# End Source File -# Begin Source File - -SOURCE=..\delgpl.c -# End Source File -# Begin Source File - -SOURCE=..\duplicate.c -# End Source File -# Begin Source File - -SOURCE=..\easygps.c -# End Source File -# Begin Source File - -SOURCE=..\filter_vecs.c -# End Source File -# Begin Source File - -SOURCE=..\garmin.c -# End Source File -# Begin Source File - -SOURCE=..\gcdb.c -# End Source File -# Begin Source File - -SOURCE=..\geo.c -# End Source File -# Begin Source File - -SOURCE=..\geoniche.c -# End Source File -# Begin Source File - -SOURCE=..\gpilots.c -# End Source File -# Begin Source File - -SOURCE=..\gpspilot.c -# End Source File -# Begin Source File - -SOURCE=..\gpsutil.c -# End Source File -# Begin Source File - -SOURCE=..\gpx.c -# End Source File -# Begin Source File - -SOURCE=..\grtcirc.c -# End Source File -# Begin Source File - -SOURCE=..\holux.c -# End Source File -# Begin Source File - -SOURCE=..\html.c -# End Source File -# Begin Source File - -SOURCE=..\internal_styles.c -# End Source File -# Begin Source File - -SOURCE=..\magnav.c -# End Source File -# Begin Source File - -SOURCE=..\magproto.c -# End Source File -# Begin Source File - -SOURCE=..\main.c -# End Source File -# Begin Source File - -SOURCE=..\mapopolis.c -# End Source File -# Begin Source File - -SOURCE=..\mapsend.c -# End Source File -# Begin Source File - -SOURCE=..\mapsource.c -# End Source File -# Begin Source File - -SOURCE=..\mkshort.c -# End Source File -# Begin Source File - -SOURCE=..\navicache.c -# End Source File -# Begin Source File - -SOURCE=..\netstumbler.c -# End Source File -# Begin Source File - -SOURCE=..\nmea.c -# End Source File -# Begin Source File - -SOURCE=..\ozi.c -# End Source File -# Begin Source File - -SOURCE=..\palmdoc.c -# End Source File -# Begin Source File - -SOURCE=..\pcx.c -# End Source File -# Begin Source File - -SOURCE=..\polygon.c -# End Source File -# Begin Source File - -SOURCE=..\position.c -# End Source File -# Begin Source File - -SOURCE=..\psitrex.c -# End Source File -# Begin Source File - -SOURCE=..\psp.c -# End Source File -# Begin Source File - -SOURCE=..\queue.c -# End Source File -# Begin Source File - -SOURCE=..\quovadis.c -# End Source File -# Begin Source File - -SOURCE=..\reverse_route.c -# End Source File -# Begin Source File - -SOURCE=..\route.c -# End Source File -# Begin Source File - -SOURCE=..\saroute.c -# End Source File -# Begin Source File - -SOURCE=..\smplrout.c -# End Source File -# Begin Source File - -SOURCE=..\sort.c -# End Source File -# Begin Source File - -SOURCE=..\text.c -# End Source File -# Begin Source File - -SOURCE=..\tiger.c -# End Source File -# Begin Source File - -SOURCE=..\tmpro.c -# End Source File -# Begin Source File - -SOURCE=..\tpg.c -# End Source File -# Begin Source File - -SOURCE=..\util.c -# End Source File -# Begin Source File - -SOURCE=..\util_crc.c -# End Source File -# Begin Source File - -SOURCE=..\vecs.c -# End Source File -# Begin Source File - -SOURCE=..\vmem.c -# End Source File -# Begin Source File - -SOURCE=..\waypt.c -# End Source File -# Begin Source File - -SOURCE=..\xcsv.c -# End Source File -# Begin Source File - -SOURCE=.\Expat\libexpat.lib -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Group "Coldsync-Headers" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\coldsync\config.h -# End Source File -# Begin Source File - -SOURCE=..\coldsync\palm.h -# End Source File -# Begin Source File - -SOURCE=..\coldsync\pdb.h -# End Source File -# Begin Source File - -SOURCE=..\coldsync\pconn\util.h -# End Source File -# End Group -# Begin Group "Jeeps-Headers" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=..\jeeps\gps.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsapp.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpscom.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsdatum.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsfmt.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsinput.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsmath.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsmem.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsnmea.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsnmeafmt.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsnmeaget.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsport.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsproj.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsprot.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsread.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsrqst.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpssend.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsserial.h -# End Source File -# Begin Source File - -SOURCE=..\jeeps\gpsutil.h -# End Source File -# End Group -# Begin Source File - -SOURCE=..\csv_util.h -# End Source File -# Begin Source File - -SOURCE=..\defs.h -# End Source File -# Begin Source File - -SOURCE=..\garmin_tables.h -# End Source File -# Begin Source File - -SOURCE=..\grtcirc.h -# End Source File -# Begin Source File - -SOURCE=..\holux.h -# End Source File -# Begin Source File - -SOURCE=..\magellan.h -# End Source File -# Begin Source File - -SOURCE=..\mapsend.h -# End Source File -# Begin Source File - -SOURCE=..\queue.h -# End Source File -# Begin Source File - -SOURCE=..\quovadis.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="GPSBabel" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=GPSBabel - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "GPSBabel.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "GPSBabel.mak" CFG="GPSBabel - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "GPSBabel - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "GPSBabel - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "GPSBabel - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /I "expat" /I "..\coldsync" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "__WIN32__" /D VERSION=\"1.2.1_beta01072004_msvc\" /YX /FD /c +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 + +!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "expat" /I "..\coldsync" /D "WIN32" /D "__WIN32__" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D VERSION=\"1.2.1_beta01072004_msvc\" /FR /YX /FD /GZ /c +# SUBTRACT CPP /WX +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "GPSBabel - Win32 Release" +# Name "GPSBabel - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Group "Jeeps" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\jeeps\gpsapp.c + +!IF "$(CFG)" == "GPSBabel - Win32 Release" + +# PROP Intermediate_Dir "Release\Jeeps" + +!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Jeeps" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpscom.c + +!IF "$(CFG)" == "GPSBabel - Win32 Release" + +# PROP Intermediate_Dir "Release\Jeeps" + +!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Jeeps" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsmath.c + +!IF "$(CFG)" == "GPSBabel - Win32 Release" + +# PROP Intermediate_Dir "Release\Jeeps" + +!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Jeeps" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsmem.c + +!IF "$(CFG)" == "GPSBabel - Win32 Release" + +# PROP Intermediate_Dir "Release\Jeeps" + +!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Jeeps" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsprot.c + +!IF "$(CFG)" == "GPSBabel - Win32 Release" + +# PROP Intermediate_Dir "Release\Jeeps" + +!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Jeeps" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsread.c + +!IF "$(CFG)" == "GPSBabel - Win32 Release" + +# PROP Intermediate_Dir "Release\Jeeps" + +!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Jeeps" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsrqst.c + +!IF "$(CFG)" == "GPSBabel - Win32 Release" + +# PROP Intermediate_Dir "Release\Jeeps" + +!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Jeeps" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpssend.c + +!IF "$(CFG)" == "GPSBabel - Win32 Release" + +# PROP Intermediate_Dir "Release\Jeeps" + +!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Jeeps" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsserial.c + +!IF "$(CFG)" == "GPSBabel - Win32 Release" + +# PROP Intermediate_Dir "Release\Jeeps" + +!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Jeeps" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsutil.c + +!IF "$(CFG)" == "GPSBabel - Win32 Release" + +# PROP Intermediate_Dir "Release\Jeeps" + +!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Jeeps" + +!ENDIF + +# End Source File +# End Group +# Begin Group "Coldsync" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\coldsync\pdb.c + +!IF "$(CFG)" == "GPSBabel - Win32 Release" + +# PROP Intermediate_Dir "Release\Coldsync" + +!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Coldsync" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\coldsync\util.c + +!IF "$(CFG)" == "GPSBabel - Win32 Release" + +# PROP Intermediate_Dir "Release\Coldsync" + +!ELSEIF "$(CFG)" == "GPSBabel - Win32 Debug" + +# PROP Intermediate_Dir "Debug\Coldsync" + +!ENDIF + +# End Source File +# End Group +# Begin Source File + +SOURCE=..\arcdist.c +# End Source File +# Begin Source File + +SOURCE=..\cetus.c +# End Source File +# Begin Source File + +SOURCE=..\copilot.c +# End Source File +# Begin Source File + +SOURCE=..\csv_util.c +# End Source File +# Begin Source File + +SOURCE=..\delgpl.c +# End Source File +# Begin Source File + +SOURCE=..\duplicate.c +# End Source File +# Begin Source File + +SOURCE=..\easygps.c +# End Source File +# Begin Source File + +SOURCE=..\filter_vecs.c +# End Source File +# Begin Source File + +SOURCE=..\garmin.c +# End Source File +# Begin Source File + +SOURCE=..\gcdb.c +# End Source File +# Begin Source File + +SOURCE=..\geo.c +# End Source File +# Begin Source File + +SOURCE=..\geoniche.c +# End Source File +# Begin Source File + +SOURCE=..\gpilots.c +# End Source File +# Begin Source File + +SOURCE=..\gpspilot.c +# End Source File +# Begin Source File + +SOURCE=..\gpsutil.c +# End Source File +# Begin Source File + +SOURCE=..\gpx.c +# End Source File +# Begin Source File + +SOURCE=..\grtcirc.c +# End Source File +# Begin Source File + +SOURCE=..\holux.c +# End Source File +# Begin Source File + +SOURCE=..\hsa_ndv.c +# End Source File +# Begin Source File + +SOURCE=..\html.c +# End Source File +# Begin Source File + +SOURCE=..\internal_styles.c +# End Source File +# Begin Source File + +SOURCE=..\magnav.c +# End Source File +# Begin Source File + +SOURCE=..\magproto.c +# End Source File +# Begin Source File + +SOURCE=..\main.c +# End Source File +# Begin Source File + +SOURCE=..\mapopolis.c +# End Source File +# Begin Source File + +SOURCE=..\mapsend.c +# End Source File +# Begin Source File + +SOURCE=..\mapsource.c +# End Source File +# Begin Source File + +SOURCE=..\mkshort.c +# End Source File +# Begin Source File + +SOURCE=..\navicache.c +# End Source File +# Begin Source File + +SOURCE=..\netstumbler.c +# End Source File +# Begin Source File + +SOURCE=..\nmea.c +# End Source File +# Begin Source File + +SOURCE=..\ozi.c +# End Source File +# Begin Source File + +SOURCE=..\palmdoc.c +# End Source File +# Begin Source File + +SOURCE=..\pcx.c +# End Source File +# Begin Source File + +SOURCE=..\polygon.c +# End Source File +# Begin Source File + +SOURCE=..\position.c +# End Source File +# Begin Source File + +SOURCE=..\psitrex.c +# End Source File +# Begin Source File + +SOURCE=..\psp.c +# End Source File +# Begin Source File + +SOURCE=..\queue.c +# End Source File +# Begin Source File + +SOURCE=..\quovadis.c +# End Source File +# Begin Source File + +SOURCE=..\reverse_route.c +# End Source File +# Begin Source File + +SOURCE=..\route.c +# End Source File +# Begin Source File + +SOURCE=..\saroute.c +# End Source File +# Begin Source File + +SOURCE=..\smplrout.c +# End Source File +# Begin Source File + +SOURCE=..\sort.c +# End Source File +# Begin Source File + +SOURCE=..\text.c +# End Source File +# Begin Source File + +SOURCE=..\tiger.c +# End Source File +# Begin Source File + +SOURCE=..\tmpro.c +# End Source File +# Begin Source File + +SOURCE=..\tpg.c +# End Source File +# Begin Source File + +SOURCE=..\util.c +# End Source File +# Begin Source File + +SOURCE=..\util_crc.c +# End Source File +# Begin Source File + +SOURCE=..\vecs.c +# End Source File +# Begin Source File + +SOURCE=..\vmem.c +# End Source File +# Begin Source File + +SOURCE=..\waypt.c +# End Source File +# Begin Source File + +SOURCE=..\xcsv.c +# End Source File +# Begin Source File + +SOURCE=.\Expat\libexpat.lib +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Group "Coldsync-Headers" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\coldsync\config.h +# End Source File +# Begin Source File + +SOURCE=..\coldsync\palm.h +# End Source File +# Begin Source File + +SOURCE=..\coldsync\pdb.h +# End Source File +# Begin Source File + +SOURCE=..\coldsync\pconn\util.h +# End Source File +# End Group +# Begin Group "Jeeps-Headers" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\jeeps\gps.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsapp.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpscom.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsdatum.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsfmt.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsinput.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsmath.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsmem.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsnmea.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsnmeafmt.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsnmeaget.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsport.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsproj.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsprot.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsread.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsrqst.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpssend.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsserial.h +# End Source File +# Begin Source File + +SOURCE=..\jeeps\gpsutil.h +# End Source File +# End Group +# Begin Source File + +SOURCE=..\csv_util.h +# End Source File +# Begin Source File + +SOURCE=..\defs.h +# End Source File +# Begin Source File + +SOURCE=..\garmin_tables.h +# End Source File +# Begin Source File + +SOURCE=..\grtcirc.h +# End Source File +# Begin Source File + +SOURCE=..\holux.h +# End Source File +# Begin Source File + +SOURCE=..\magellan.h +# End Source File +# Begin Source File + +SOURCE=..\mapsend.h +# End Source File +# Begin Source File + +SOURCE=..\queue.h +# End Source File +# Begin Source File + +SOURCE=..\quovadis.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/gpsbabel/msvc/GPSBabel.sln b/gpsbabel/msvc/GPSBabel.sln new file mode 100644 index 000000000..3748f751f --- /dev/null +++ b/gpsbabel/msvc/GPSBabel.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GPSBabel", "GPSBabel.vcproj", "{EB2609DB-5800-45B2-BCB2-06D72F389DCA}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {EB2609DB-5800-45B2-BCB2-06D72F389DCA}.Debug.ActiveCfg = Debug|Win32 + {EB2609DB-5800-45B2-BCB2-06D72F389DCA}.Debug.Build.0 = Debug|Win32 + {EB2609DB-5800-45B2-BCB2-06D72F389DCA}.Release.ActiveCfg = Release|Win32 + {EB2609DB-5800-45B2-BCB2-06D72F389DCA}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/gpsbabel/msvc/GPSBabel.vcproj b/gpsbabel/msvc/GPSBabel.vcproj new file mode 100644 index 000000000..d3a51610d --- /dev/null +++ b/gpsbabel/msvc/GPSBabel.vcproj @@ -0,0 +1,1705 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gpsbabel/navicache.c b/gpsbabel/navicache.c index 763cb6d13..bc825dfdb 100644 --- a/gpsbabel/navicache.c +++ b/gpsbabel/navicache.c @@ -43,7 +43,7 @@ arglist_t nav_args[] = { void nav_rd_init(const char *fname) { - fatal(MYNAME ": This build excluded GPX support becuase expat was not installed.\n"); + fatal(MYNAME ": This build excluded GPX support because expat was not installed.\n"); } void diff --git a/gpsbabel/tiger.c b/gpsbabel/tiger.c index 9781aa2a8..c30109765 100644 --- a/gpsbabel/tiger.c +++ b/gpsbabel/tiger.c @@ -199,7 +199,7 @@ dscale(double distance) { /* * If we have any specified margin options factor those in now. - * A additional little boundary is helpful becuase Tiger always + * A additional little boundary is helpful because Tiger always * puts the pin above the actual coord and if we don't pad the * top will be clipped. It also makes the maps more useful to * have a little bit of context around the pins on the border. diff --git a/gpsbabel/vecs.c b/gpsbabel/vecs.c index 1bb62affb..4cbfa8973 100644 --- a/gpsbabel/vecs.c +++ b/gpsbabel/vecs.c @@ -64,6 +64,7 @@ extern ff_vecs_t text_vecs; extern ff_vecs_t palmdoc_vecs; extern ff_vecs_t html_vecs; extern ff_vecs_t netstumbler_vecs; +extern ff_vecs_t HsaEndeavourNavigator_vecs; static vecs_t vec_list[] = { @@ -272,6 +273,12 @@ vecs_t vec_list[] = { "NetStumbler Summary File", NULL }, + { + &HsaEndeavourNavigator_vecs, + "hsandv", + "HSA Endeavour Navigator export File", + NULL + }, { NULL, NULL, -- 2.30.2